package com.qfedu.zf.my.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)// 表明当前方法 set 是链式调用
@TableName("user")
public class User {

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        private String nickname;

        private String avatar;

        private String phone;

        private Date birth;

        private String account;

        private String password;

        private Integer status;

        private String info;

        private Date ctime;

    }
